<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //以下有两个数组，一个数组arr是班级里所有的学员的名称，一个数组currentArr是提交了每日反馈的学员名单。
// arr'=.["1”,."2”currentArr·='["1" ,"2"]'
//currentArr·=.["1",."2"]'
// 请创建一种算法，把未提交每日反馈的学员筛选出来。
// 要求:请创建一种算法，把未提交每日反馈的学员筛选出来。“
        
        let arr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"];
        
        let currentArr = ["1", "2", "3", "4", "5"];
            
        let result = arr.filter(function(item) {
            return !currentArr.includes(item);
        })
        console.log(result);

    </script>
</body>
</html>